	alert(123);
		    	alert(params);
		    	$("#tb").datagrid({
		    	   	url:"boms",
		    	   	method:"get",
		    	   	queryParams:params,
		    		columns:[[    
		    		          {field:'Id',title:'全选',width:100,checkbox:true},      
		    			      {field:'partnum',title:'物料编号',width:100,align:'center'},    
		    			      {field:'desc',title:'物料规格',width:100,align:'center'},    
		    			      {field:'size',title:'物料名称',width:100,align:'center'}, 
		    			      {field:'weight',title:'需求量',width:100,align:'center'},
		    			      {field:'parent',title:'计量单位',width:100,align:'center'},
		    	    ]],
		    	    fit:true,
		    		toolbar:[{
		    			iconCls: 'icon-edit',
		    			text:"编辑",
		    			handler:function(){
		    				
		    			}
		    		}
		    		,{
		    			iconCls: 'icon-add',
		    			text:"添加",
		    			handler:function(){
		    				
		    			}
		    		},{
		    			iconCls: 'icon-search',
		    			text:"查询",
		    			handler:function(){
		    				$("#win").show();
		    				 $("#win").window({
		    				 	height:200,
		    					width:300,
		    					title:"员工搜索",
		    					modal:true
		    				 })
		    			}
		    		}
		    		
		    		],
		    		onLoadSuccess:function(){//数据加载完毕之后触发事件..,想让数据端某列作为js按钮,就需要加载完数据后,给该列赋予easyui的类属性
		    			$("#btn_1").linkbutton({    
		    			    iconCls: 'icon-add'   
		    			});  
		    		},
		    		loadMsg:"亲，正在努力加载...，请耐心等候哦!!",
		    		singleSelect:true,
		    		fitColumns:true,
		    		pagination:true,
		    		rownumbers:true,
		    		onClickRow:function(rowIndex, rowData){
//		    							alert(rowIndex);
		    			alert(rowData.code_number);
		    		}
		    	})
		    		